import request from '@/utils/request'
/**
 *
 * @param addMarketingToolApi 新增营销工具接口
 * @returns
 */
export function addMarketingToolApi(data) {
  return request({
    method: 'post',
    url: '/order/marketing_tool',
    data
  })
}
/**
 *
 * @param getMarketingToolApi 获取营销工具列表信息接口
 * @returns
 */
export function getMarketingToolApi(params) {
  return request({
    method: 'get',
    url: '/order/marketing_tool/search',
    params
  })
}

/**
 *
 * @param editMarketingToolApi 编辑营销工具接口
 * @returns
 */
export function editMarketingToolApi(data) {
  return request({
    method: 'put',
    url: '/order/marketing_tool',
    data
  })
}
/**
 *
 * @param deleteMarketingToolApi 删除销工具接口
 * @returns
 */
export function deleteMarketingToolApi(data) {
  return request({
    method: 'delete',
    url: '/order/marketing_tool',
    data
  })
}
